package com.learning.springboot.base.yml.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Sam
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "learning.config")
public class TypeSafeConfig {

    private String name;
    private String author;
}